.k-poptip {
    display: inline-block;
    position: relative;
}

.k-poptip-dom {
    min-width: 150px;
    max-width: 300px;
    font-size: 12px;
    line-height: 1.5;
    position: absolute;
    z-index: 1001;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 6px;
    white-space: nowrap;
    border-radius: @radius;
    background: #fff;
    box-sizing: border-box; //    padding: 15px;
    [class^=k-ion] {
        color: orange;
        font-size: 14px;
        margin-right: 5px;
    }
    .k-poptip-footer {
        text-align: right;
        padding-top: 10px;
    }
    .k-poptip-title {
        font-size: 14px;
        margin: 0;
        padding: 8px 16px;
        position: relative;
        border-bottom: 1px solid #eee;
    }
    .k-poptip-content {
        padding: 8px 16px;
    }
    .k-poptip-arrow {
        position: absolute;
        width: 0;
        height: 0;
        bottom: -12px;
        margin-left: -6px;
        border: 6px solid transparent;
        &::after {
            content: "";
            position: absolute;
            border: 6px solid transparent;
            top: -7px;
            left: -6px;
        }
    } //ok
    &[k-placement^=top] {
        .k-poptip-arrow {
            border-top-color: rgba(216, 216, 216, 0.6);
            &::after {
                border-top-color: white;
            }
        }
    }
    &[k-placement=top] {
        .k-poptip-arrow {
            left: 50%;
        }
    }
    &[k-placement=top-right] {
        .k-poptip-arrow {
            right: 10px;
        }
    }
    &[k-placement=top-left] {
        .k-poptip-arrow {
            left: 20px;
        }
    }
    &[k-placement^=bottom] {
        .k-poptip-arrow {
            border-bottom-color: rgba(216, 216, 216, 0.6);
            top: -12px;
            &::after {
                top: -5px;
                border-bottom-color: white;
            }
        }
    }
    &[k-placement=bottom] {
        .k-poptip-arrow {
            left: 50%;
        }
    }
    &[k-placement=bottom-left] {
        .k-poptip-arrow {
            left: 16px;
        }
    }
    &[k-placement=bottom-right] {
        .k-poptip-arrow {
            right: 10px;
        }
    }
    &[k-placement^=left] {
        .k-poptip-arrow {
            right: -12px;
            border-left-color: rgba(216, 216, 216, 0.6);
            &::after {
                border-left-color: white;
                top: -6px;
                left: -7px;
            }
        }
    }
    &[k-placement=left] {
        .k-poptip-arrow {
            top: 50%;
            margin-top: -6px;
            ;
        }
    }
    &[k-placement=left-bottom] {
        .k-poptip-arrow {
            bottom: 10px;
        }
    }
    &[k-placement=left-top] {
        .k-poptip-arrow {
            top: 10px;
        }
    } //ok
    &[k-placement^=right] {
        .k-poptip-arrow {
            left: -6px;
            border-right-color: rgba(216, 216, 216, 0.6);
            &::after {
                border-right-color: white;
                top: -6px;
                left: -5px;
            }
        }
    }
    &[k-placement=right] {
        .k-poptip-arrow {
            top: 50%;
            margin-top: -6px;
            ;
        }
    }
    &[k-placement=right-top] {
        .k-poptip-arrow {
            top: 10px;
        }
    }
    &[k-placement=right-bottom] {
        .k-poptip-arrow {
            bottom: 10px;
        }
    }
}

.k-poptip-confirm {
    .k-poptip-title {
        border: none;
        padding: 16px 16px 8px;
    }
    .k-poptip-content {
        display: none;
    }
    .k-poptip-footer {
        text-align: right;
        padding: 8px 16px 16px;
    }
}